
<%@ page import="org.bjou.Config" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="pertho">
		<g:set var="entityName" value="${message(code: 'config.label', default: 'Config')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<div class="container">
    <div class="row">
      <div class="twelve columns">
        <div class="box_c">

          <div class="box_c_heading cf">
            <p><g:message code="default.list.label" args="[entityName]" /></p>
          </div>
          <div class="box_c_content">
		  <!--start-->
		<div id="list-config" class="content scaffold-list" role="main">
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<table>
				<thead>
					<tr>
					
						
						<g:sortableColumn property="name" title="${message(code: 'config.name.label', default: 'Name')}" />
					
						<g:sortableColumn property="configValue" title="${message(code: 'config.configValue.label', default: 'Config Value')}" />
					
					
					</tr>
				</thead>
				<tbody>
				<g:each in="${configInstanceList}" status="i" var="configInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
					
						<td><g:link action="show" id="${configInstance.id}">${fieldValue(bean: configInstance, field: "name")}</g:link></td>
					
						<td>${fieldValue(bean: configInstance, field: "configValue")}</td>
					
					
					</tr>
				</g:each>
				</tbody>
			</table>
			<div class="pagination">
				<g:paginate total="${configInstanceTotal}" />
			</div>
			   
                <!--  
                 <fieldset class="buttons">
                <g:link class="gh_button create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link>
                                </fieldset>

                -->
            
            </div>
          </div>
        </div>
      </div>
    </div>
	</body>
</html>
